window.onload=function(){
	jddhShow(); //导航栏下拉信息
	head_show();	
}
$(function(){
	$(".navul li:eq(0)").bind({		
		mouseover:function(){
			$(".navul li:eq(0) a span").css({"background-position":"-4px -227px"});	
		},
		mouseout:function(){
			$(".navul li:eq(0) a span").css({"background-position":"-4px -176px"});	
		}
		
		
	});
	$(".navul li:eq(1)").bind({
		mouseover:function(){
			$(".navul li:eq(1) a span").css({"background-position":"-33px -360px"});	
		},
		mouseout:function(){
			$(".navul li:eq(1) a span").css({"background-position":"8px -360px"});	
		}
	});
	$(".navul li:eq(2)").bind({
		mouseover:function(){
			$(".navul li:eq(2) a span").css({"background-position":"-50px -227px"});	
		},
		mouseout:function(){
			$(".navul li:eq(2) a span").css({"background-position":"-50px -176px"});	
		}
	});
	$(".navul li:eq(3)").bind({
		mouseover:function(){
			$(".navul li:eq(3) a span").css({"background-position":"-95px -227px"});	
		},
		mouseout:function(){
			$(".navul li:eq(3) a span").css({"background-position":"-95px -176px"});	
		}
	});
	$(".navul li:eq(4)").bind({
		mouseover:function(){
			$(".navul li:eq(4) a span").css({"background-position":"-145px -227px"});	
		},
		mouseout:function(){
			$(".navul li:eq(4) a span").css({"background-position":"-145px -176px"});	
		}
	});
	$(".navul li:eq(5)").bind({
		mouseover:function(){
			$(".navul li:eq(5) a span").css({"background-position":"-190px -227px"});	
		},
		mouseout:function(){
			$(".navul li:eq(5) a span").css({"background-position":" -190px -176px"});	
		}
	});
	
	
		
		$(".mainInfo .main_content:eq(0)").css({"display":"block"});
		$(".mainInfo .main_content:eq(1)").css({"display":"none"});
		$(".mainInfo .main_content:eq(2)").css({"display":"none"});
		lefttop_a=$(".lefttop a");
		
		mainInfo_divs=$(".mainInfo .main_content");
		
		for(var i=0;i<lefttop_a.length;i++){
			lefttop_a[i].onmousedown=function(){
				for(var j=0;j<lefttop_a.length;j++){	
					mainInfo_divs[j].style.display="none";
				}
				mainInfo_divs[this.tabIndex].style.display="block";	
			}
		}
			
	
		
	
});



